package com.service;

import com.pojo.dto.Message;
import com.pojo.entity.CTopPickTicket;
import com.pojo.vo.TopPickTicketVo;
import com.pojo.vo.TopPickVo;

import java.util.List;

public interface TopPickTicketService {
    Message<List<TopPickTicketVo>> list(TopPickTicketVo topPickTicketVo);//
    Message<TopPickTicketVo> get(TopPickTicketVo topPickTicketVo);
    Message<TopPickTicketVo> edit(TopPickTicketVo topPickTicketVo);
    Message<TopPickTicketVo> add(TopPickTicketVo topPickTicketVo);
    Message<TopPickTicketVo> delete(TopPickTicketVo topPickTicketVo);

    /**
     * 参与人数与限制人数判断
     * @param batchNum
     * @return
     */
    Long count(Long batchNum);

    /**
     * 开筹判断
     * @param topPickVo
     */
    void open(TopPickVo topPickVo);

}
